package com.macy.mysok.bean;


import org.xutils.db.annotation.Column;
import org.xutils.db.annotation.Table;
import java.sql.Date;

@Table(name = "btc")
public class Btc {
    public Btc(){};
    public Btc(Double close,Double high,Double low,String timestamp){
        this.close=close;
        this.high=high;
        this.low=low;
        this.timestamp=timestamp;
    }

    @Column(name = "id", isId = true)
    private int id;

    @Column(name = "close")
    public Double close;

    @Column(name = "high")
    public Double high;

    @Column(name = "low")
    public Double low;


    @Column(name = "timestamp") //timestamp
    private String timestamp;




    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public Double getClose() {
        return close;
    }

    public void setClose(Double close) {
        this.close = close;
    }

    public Double getHigh() {
        return high;
    }

    public void setHigh(Double high) {
        this.high = high;
    }

    public Double getLow() {
        return low;
    }

    public void setLow(Double low) {
        this.low = low;
    }


    public String getTimestamp() {
        return timestamp;
    }

    public void setTimestamp(String timestamp) {
        this.timestamp = timestamp;
    }
}